package com.rh.service.Impl;

import com.rh.entity.WorkType;
import com.rh.mapper.WorkTypeMapper;
import com.rh.service.WorkTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;
import java.util.List;

@Service
@Transactional
public class WorkTypeServiceImpl implements WorkTypeService {
    @Autowired
    private WorkTypeMapper workTypeMapper;

    @Override
    public List<WorkType> getMethodAll() {
        return workTypeMapper.getMethodAll();
    }
}
